package com.cskaoyan.market.service;

import com.cskaoyan.market.bo.WxCommentBo;
import com.cskaoyan.market.bo.CommentPostBo;
import com.cskaoyan.market.db.domain.MarketComment;
import com.cskaoyan.market.vo.CommentInfoVo;
import com.cskaoyan.market.vo.CommentVo;

import java.util.List;
import java.util.Map;

/**
 * @Author: chenjian
 * @Date: 2024/5/20 14:55
 */
public interface WxCommentService {
    List<CommentInfoVo> list(int valueId, int type, int limit, int page, int showType);

    Map<String,Integer> count(int valueId, int type);

    MarketComment post(CommentPostBo commentPostBo,int userId);

    void create(WxCommentBo wxCommentBo);

    CommentVo queryCommentVo(Integer id);

}
